import React, { PureComponent } from 'react'
import logRenderTime from '../hoc/logRenderTime'

export class About extends PureComponent {
  render() {
    const list = []
    for (let i = 0; i < 100; i++) {
      list.push(<li key={i}>数据列表{i}</li>)
    }
    return (
      <div>
        <h1>About</h1>
        <ul>
          { list }
        </ul>
      </div>
    )
  }
}

export default logRenderTime(About)